//
//  QRViewController.h
//  ZLZKBaseUtils
//
//  Created by sxh on 2020/11/30.
//

#import <UIKit/UIKit.h>

typedef NS_ENUM(NSUInteger, RecognitionStatus) {
    RecognitionSuccess,
    RecognitionFaield,
    RecognitionCancel,
};

typedef void(^RecognitionBlock)(NSString  * _Nullable result, RecognitionStatus recognitionStatus);

NS_ASSUME_NONNULL_BEGIN

@interface QRViewController : UIViewController

@property (nonatomic, strong)RecognitionBlock scanBlock;

@end

NS_ASSUME_NONNULL_END
